package dbLayer;

import java.util.ArrayList;

import modelLayer.*;

public interface IFDBSupplier {

	public ArrayList<Supplier> getAllSupplier(boolean retriveAssociation);
	public Supplier findSupplier(int id, boolean retriveAssociation);
	public Supplier searchSupplierOnName(String name, boolean retriveAssociation);
	
	public int insert(Supplier supplier) throws Exception;
	public int update(Supplier supplier);
	public int delete(int id);
}
